package com.ucw.ucwclient.dal.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ucw.ucwclient.dal.dataobject.UStudyEnroll;


@Repository
public interface UStudyEnrollMapper {
	int deleteByPrimaryKey(@Param("studyId") Integer studyId, @Param("userId") Long userId);

	int insert(UStudyEnroll record);

	int insertSelective(UStudyEnroll record);

	UStudyEnroll selectByPrimaryKey(@Param("studyId") Integer studyId, @Param("userId") Long userId);

	int updateByPrimaryKeySelective(UStudyEnroll record);

	int updateByPrimaryKey(UStudyEnroll record);

	int deleteEnroll(@Param("studyId") Integer id, @Param("userId") Long userId);
}